package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.dto.NursingProjectPageQueryDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {


    /*
    * 分页条件查询护理项目
    * */
    PageBean<NursingProjectVo> pageQuery(NursingProjectPageQueryDto dto);

    //添加
    void add(NursingProjectDto nursingProjectDto);


    //根据id查询
    NursingProjectVo getById(Long id);


    //修改
    void update(NursingProjectDto nursingProjectDto);

    //启用或禁用
    void enableOrDisable(Long id, Integer status);

    //删除
    void delete(Long id);

    //查询所有
    List<NursingProject> findAll();
}
